<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>工作人员信息添加页</title>

    <style>
        h1{
            color: rgb(236, 247, 80);
            text-align: center;
            font-size: 60px;
            margin-top: 50px;
        }
        a{
            margin: 2px;
            padding: 6px 20px;
            border: 5px solid rgba(255, 150, 150, 0.3);
            text-align: center;
            background-color: rgba(243, 75, 75, 0.3);
            color: rgb(255, 255, 255);
            font-weight: 1000;
            border-radius: 20px;
            text-decoration:aliceblue;
        }
        body{
            margin: 0 auto;
            width: auto;
            background-repeat: no-repeat;
            /* background-image: url("static/15.jpg"); */
            /* background-image: url('/static/107.png'); */
            background-color:  rgb(163, 163, 246);
            background-attachment:fixed;
            background-size:cover;
            background-position:center;
        }
        form{
            text-align:left;
            
        }
        input{
            text-align:left;
            font-size: 20px;
            padding:3px 30px ;
        }
        select{
            font-size: 20px;
            padding:3px 102px;
        }

    </style>
</head>
<body>


    <h1>工作人员信息添加页</h1>
    <p>
        <a href="/">首页</a>
        <a href="/carStockList">车辆类型列表</a>
        <a href="/addCarStockInfo">添加车辆类型</a>
        <a href="/addCarInfo">添加车辆</a>
        <a href="/workerList">查看员工信息</a>
        <a href="/addWorkerInfo">添加员工信息</a>
        <a href="/carUseList">查看车辆调用记录</a>
        <a href="/addCarUseInfo">添加车辆调用记录</a>
    </p>

    <form action="/addWorkerInfoSubmit" method="post">
        <p>员工姓名： <input type="text" name="workerName" placeholder="请输入姓名"></p>
        <p>员工年龄： <input type="number" name="workerAge" placeholder="请输入年龄"></p>
        <p>员工类型：
            <select name="workerType" >
                {% for i in info %}
                <option value="{{i[0]}}">{{i[0]}}</option>
                {% endfor %}
            </select>
        </p>
        <p>驾照等级： <input type="text" name="workerDriver" placeholder="请输入驾照等级"></p>
        <p>员工驾龄： <input type="number" name="workerDriverYear" placeholder="请输入驾龄"></p>
        <p>联系方式： <input type="number" name="workerPhone" placeholder="请输入联系电话"></p>
        <p><input type="submit" value="添加" ></p>
    </form>
</body>
</html>